package com.pan.admin.module.channel.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 渠道关联注册字段配置对象 loan_channel_register_field
 * 
 * @author ts
 * @date 2023-09-18
 */
public class LoanChannelRegisterField extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 渠道主键id */
    @Excel(name = "渠道主键id")
    private Long loanChannelId;

    /** 注册字段主键id */
    @Excel(name = "注册字段主键id")
    private Long loanRegisterFieldId;

    /**注册名称*/
    private String name;

    public void setId(Long id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }
    public void setLoanChannelId(Long loanChannelId) {
        this.loanChannelId = loanChannelId;
    }

    public Long getLoanChannelId() {
        return loanChannelId;
    }
    public void setLoanRegisterFieldId(Long loanRegisterFieldId) {
        this.loanRegisterFieldId = loanRegisterFieldId;
    }

    public Long getLoanRegisterFieldId() {
        return loanRegisterFieldId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("loanChannelId", getLoanChannelId())
            .append("loanRegisterFieldId", getLoanRegisterFieldId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
